package com.liaogui.framework;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author liaogui
 * @date 2025/4/16 20:52
 */
@Getter
@Setter
@ToString
public class Invocation implements Serializable {

    // 接口名称
    private String interfaceName;

    // 接口方法
    private String methodName;

    // 接口参数列表
    private Class[] paramType;

    // 方法参数值列表
    private Object[] params;

    // 版本号
    private String version;


    public Invocation(String interfaceName, String methodName, Class[] paramType, Object[] params, String version) {
        this.interfaceName = interfaceName;
        this.methodName = methodName;
        this.paramType = paramType;
        this.params = params;
        this.version = version;
    }
}
